package com.kmzx.one.project.others.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.kmzx.one.project.config.web.Decimal2Serializer;
import com.kmzx.one.project.others.common.VIPRank;
import com.kmzx.one.project.others.dso.UserRankDso;

import java.math.BigDecimal;
import java.util.List;

public class UserRankInfo extends UserRankDso {

    protected String userId;

    protected BigDecimal growth;

    protected BigDecimal toBuy;

    protected String nextName;

    protected String userRankId;

    protected int rankNo;

    protected Double rankRate;

    protected Double seaRankRate;

    protected List<VIPRank> rankList;

    protected String nickName;


    protected String rankIcon;

    protected String avatar;

    protected Double middleRate;

    protected int middle;

    @JsonSerialize(using = Decimal2Serializer.class)
    protected BigDecimal tempGrowth;

    protected String priceIcon;

    protected BigDecimal bigRankRate;

    @JsonSerialize(using = Decimal2Serializer.class)
    protected BigDecimal sendMoney;

    @JsonIgnore
    protected BigDecimal upMoney;


    @JsonIgnore
    protected int directSend;

    public BigDecimal getTempGrowth() {
        return tempGrowth;
    }

    public UserRankInfo setTempGrowth(BigDecimal tempGrowth) {
        this.tempGrowth = tempGrowth;
        return this;
    }

    public String getAvatar() {
        return avatar;
    }

    public UserRankInfo setAvatar(String avatar) {
        this.avatar = avatar;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public UserRankInfo setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public BigDecimal getGrowth() {
        return growth;
    }

    public UserRankInfo setGrowth(BigDecimal growth) {
        this.growth = growth;
        return this;
    }

    public BigDecimal getToBuy() {
        return toBuy;
    }

    public UserRankInfo setToBuy(BigDecimal toBuy) {
        this.toBuy = toBuy;
        return this;
    }

    public String getNextName() {
        return nextName;
    }

    public UserRankInfo setNextName(String nextName) {
        this.nextName = nextName;
        return this;
    }

    public String getUserRankId() {
        return userRankId;
    }

    public UserRankInfo setUserRankId(String userRankId) {
        this.userRankId = userRankId;
        return this;
    }

    public int getRankNo() {
        return rankNo;
    }

    public UserRankInfo setRankNo(int rankNo) {
        this.rankNo = rankNo;
        return this;
    }

    public Double getRankRate() {
        return rankRate;
    }

    public UserRankInfo setRankRate(Double rankRate) {
        this.rankRate = rankRate;
        return this;
    }

    public Double getSeaRankRate() {
        return seaRankRate;
    }

    public UserRankInfo setSeaRankRate(Double seaRankRate) {
        this.seaRankRate = seaRankRate;
        return this;
    }

    public List<VIPRank> getRankList() {
        return rankList;
    }

    public UserRankInfo setRankList(List<VIPRank> rankList) {
        this.rankList = rankList;
        return this;
    }

    public String getNickName() {
        return nickName;
    }

    public UserRankInfo setNickName(String nickName) {
        this.nickName = nickName;
        return this;
    }

    public String getRankIcon() {
        return rankIcon;
    }

    public UserRankInfo setRankIcon(String rankIcon) {
        this.rankIcon = rankIcon;
        return this;
    }

    public Double getMiddleRate() {
        return middleRate;
    }

    public UserRankInfo setMiddleRate(Double middleRate) {
        this.middleRate = middleRate;
        return this;
    }

    public int getMiddle() {
        return middle;
    }

    public UserRankInfo setMiddle(int middle) {
        this.middle = middle;
        return this;
    }

    public String getPriceIcon() {
        return priceIcon;
    }

    public UserRankInfo setPriceIcon(String priceIcon) {
        this.priceIcon = priceIcon;
        return this;
    }

    public BigDecimal getBigRankRate() {
        return bigRankRate;
    }

    public UserRankInfo setBigRankRate(BigDecimal bigRankRate) {
        this.bigRankRate = bigRankRate;
        return this;
    }

    public BigDecimal getSendMoney() {
        return sendMoney;
    }

    public UserRankInfo setSendMoney(BigDecimal sendMoney) {
        this.sendMoney = sendMoney;
        return this;
    }

    public BigDecimal getUpMoney() {
        return upMoney;
    }

    public UserRankInfo setUpMoney(BigDecimal upMoney) {
        this.upMoney = upMoney;
        return this;
    }

    public int getDirectSend() {
        return directSend;
    }

    public UserRankInfo setDirectSend(int directSend) {
        this.directSend = directSend;
        return this;
    }
}
